package movee.jpa.multi.source.dao.primary;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.SuperBuilder;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;

/**
 *
 *
 * @author movee
 */
@Data
@NoArgsConstructor
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@DynamicUpdate
@DynamicInsert
@Entity
@Table(name = "t_net_operation_sheet", indexes = {
        @Index(name = "idx_nsc_id", columnList = "nsc_id"),
        @Index(name = "idx_title", columnList = "title"),
        @Index(name = "idx_create_user", columnList = "create_user"),
        @Index(name = "idx_update_user", columnList = "update_user"),
        @Index(name = "idx_operator", columnList = "operator"),
        @Index(name = "idx_plan_start_time", columnList = "plan_start_time"),
        @Index(name = "idx_plan_end_time", columnList = "plan_end_time")
})
public class OperationSheetDao extends BaseOperationSheetDao {



}

